package chapter_13_proxy.dynamic_proxy;

/**
 * Created by CharloYao on 2017/10/11.
 */
public class Client {

    public static void main(String[] args) {
        Subject subject = DynamicProxyFactory.getInstance();

        int result = subject.dealTask("泡咖啡");
        System.out.println("result="+result);
    }
}
